Multi-processor command management in electronic components with multiple microcontrollers

ABSTRACT

In one embodiment, a computer-implemented method includes executing firmware including a command list configured to maintain commands executable by a host processor of a field-programmable unit. One or more of the commands define communications between the host processor and one or more back-end processors of the field-replaceable unit. The command list includes both periodic commands representing periodic processes and non-periodic commands representing non-periodic processes. Each command in the command list is set to one of active mode and inactive mode. Executing the firmware includes cycling through the command list, and executing, by the host processor, only the commands in the command list that are set to active mode while cycling through the command list.

BACKGROUND

The present invention relates generally to electronic componentscontaining multiple microcontrollers, and more particularly, tomulti-processor command management in those electronic components.

An example of an electronic component with multiple microcontrollers isa field-replaceable unit (FRU), which is a programmable component thatcan be easily removed from and replaced in a server or other computingdevice. It is often considered beneficial that a power/thermal FRU useone or more small, inexpensive microcontrollers. When using multiplesmall microcontrollers in an FRU, the savings on a per-unit basis issubstantial as compared with a single complex microcontroller, loweringthe overall hardware cost of the FRU.

However, generally a small microcontroller is unable to handle the tasksof the FRU on its own, and thus, multiple small microcontrollers may beused in a single FRU. In that case, the multiple microcontroller usedinclude a front-end microcontroller, referred to herein as a hostprocessor, and one or more back-end microcontrollers, referred to hereinas back-end processors (BEPs). General existing strategy is to isolatethe BEPs from direct contact with external code that communicatesdirectly with the host processor. Thus, the host processor acts acentral component of a robust communication design. The host processorbehaves as an interface for commands that are to be performed by theFRU. Each BEP may be responsible for assigned tasks. The host processorcommunicates with the BEPs, monitoring their status, sending commands,and sending and receiving other communications.

An increase in the use of BEPs has led to various back-end communicationissues. One inherent problem is coordinating the various processesneeding to communicate with the BEPs. The competing processes fall intotwo categories: periodic and non-periodic. Periodic processes are thosethat occur repeatedly and expectedly, and include scheduled processesthrough which the host processor performs cyclic monitoring of the BEPs.Non-periodic processes are those that are not scheduled; rather, theycan occur at any time. These include external commands received throughthe external code, as well as other non-periodic commands originating inthe FRU's firmware.

The host processor manages both the periodic and the non-periodicprocesses, communicating corresponding commands to the BEPs andreceiving responses in return. Non-periodic processes are generallygiven higher priority than periodic processes. Thus, using existingprioritization schemes, if numerous non-periodic processes are received,or if non-periodic processes are received frequently, the periodicprocesses may become starved out. In other words, the host processor maybecome saturated with handling the high-priority, non-periodicprocesses, such that it ignores the periodic ones, which are alsoessential to the overall operation of the FRU.

SUMMARY

In one embodiment of this disclosure, a system includes firmware of afield-replaceable unit, a host processor of a field-replaceable unit,and one or more back-end processors of a field-replaceable unit. Thefirmware includes a command list configured to maintain commands. Thehost processor is configured to execute one or more of the commands inthe command list. The one or more back-end processors are incommunication with the host processor. One or more of the commands inthe command list define communications between the host processor andthe one or more back-end processors. The command list includes bothperiodic commands representing periodic processes and non-periodiccommands representing non-periodic processes. Each command in thecommand list is set to one of active mode and inactive mode. The hostprocessor is further configured to cycle through the command list, andexecute only the commands in the command list that are set to activemode while cycling through the command list.

In another embodiment, a computer-implemented method includes executingfirmware including a command list configured to maintain commandsexecutable by a host processor of a field-programmable unit. One or moreof the commands define communications between the host processor and oneor more back-end processors of the field-replaceable unit. The commandlist includes both periodic commands representing periodic processes andnon-periodic commands representing non-periodic processes. Each commandin the command list is set to one of active mode and inactive mode.Executing the firmware includes cycling through the command list, andexecuting, by the host processor, only the commands in the command listthat are set to active mode while cycling through the command list.

In yet another embodiment, a computer program product for managingprocesses of a field-replaceable unit includes a computer readablestorage medium having program instructions embodied therewith. Theprogram instructions are executable by a processor to cause theprocessor to perform a method. The method includes executing firmwareincluding a command list configured to maintain commands executable by ahost processor of a field-programmable unit. One or more of the commandsdefine communications between the host processor and one or moreback-end processors of the field-replaceable unit. The command listincludes both periodic commands representing periodic processes andnon-periodic commands representing non-periodic processes. Each commandin the command list is set to one of active mode and inactive mode.Executing the firmware includes cycling through the command list, andexecuting, by the host processor, only the commands in the command listthat are set to active mode while cycling through the command list.

Additional features and advantages are realized through the techniquesof the present invention. Other embodiments and aspects of the inventionare described in detail herein and are considered a part of the claimedinvention. For a better understanding of the invention with theadvantages and the features, refer to the description and to thedrawings.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The subject matter which is regarded as the invention is particularlypointed out and distinctly claimed in the claims at the conclusion ofthe specification. The forgoing and other features, and advantages ofthe invention are apparent from the following detailed description takenin conjunction with the accompanying drawings in which:

FIG. 1 is a block diagram of a process management system for afield-replaceable unit, according to some embodiments of thisdisclosure;

FIG. 2 is a block diagram of a command list used by the processmanagement system, according to some embodiments of this disclosure;

FIG. 3 is a block diagram of a method for managing processes in afield-replaceable unit, according to some embodiments of thisdisclosure; and

FIG. 4 is a block diagram of a computing device for implementing some orall aspects of the process management system, according to someembodiments of this disclosure.

DETAILED DESCRIPTION

Various embodiments of this disclosure are process management systemsfor FRUs. According to some embodiments, a process management systemincludes a list of commands executable by the associated FRU. Thecommand list may be established at compile time and may include some orall commands expected to involve the BEPs of the FRUs. The hostprocessor may cycle through the command list, performing only thosecommands that are currently set as active, and skipping those commandsset as inactive. Through the use of a single list of commands, combiningboth periodic and non-periodic commands, corresponding respectively toperiodic and non-periodic processes, the process management system mayavoid periodic commands being starved out.

FIG. 1 is a block diagram of a process management system 100 for an FRU110, according to some embodiments of this disclosure. As shown, theprocess management system 100 may include a single command list 120,including both periodic and non-periodic commands. Each command in thecommand list 120 may require a host processor 130 to communicate with aBEP 140, of which one or more are included on the FRU 110. The hostprocessor 130 may cycle through the command list 120, executing those ofthe commands that were previously selected for execution. Each commandin the command list 120 may be, at a given time, in either active modeor inactive mode. The host processor 130 may execute a current commandof the command list 120 only if the current command is set to active.

In some embodiments, the command list 120 may be part of firmware 105installed on the FRU 110 and may thus be a fixed list. As a result,memory may be allocated for the command list 120 at compile time of thefirmware 105. A benefit of this list being fixed, and not dynamic, isthat the host processor 130 need not dynamically allocate and releasememory for the command list 120, thus avoiding memory leaks.

As shown in FIG. 1, the host processor 130 may act as an interface withexternal or internal components, and may accept commands for executionon behalf of all the BEPs 140. Thus, the host processor 130 may be incommunication with external code 150, which may provide commands to thehost processor 130 from outside the FRU 110. The external code 150 maybe a higher layer of code than the FRU firmware 105. The external code150 may run outside the FRU 110 and may communicate with the FRU 110 toperform command and control functions. While the firmware 105 may rundirectly on the FRU 110 and manage its hardware functions, the externalcode 150 may run at a higher layer and manage the FRU firmware 105. Theexternal code 150 may be in communication with the host processor 130 byvarious mechanisms. For example, and not by way of limitation, theexternal code 150 may communicate with the host processor 130 through auniversal, asynchronous, receiver/transmitter (UART), such as a serialport.

The commands received at the host processor 130 from the external code150 may already exist in the command list 120, and may currently be setto active or inactive mode. Upon receipt of a command from the externalcode 150 or elsewhere, a corresponding command in the command list 120may be activated (i.e., set to active).

As the host processor 130 cycles through the command list 120, the hostprocessor 130 may execute the commands in the command list 120 that arecurrently active. To execute a command, the host processor 130 maycommunicate with one or more of the BEPs 140. In some embodiments, thehost processor 130 may be communicatively connected to the BEPs 140 byone or more UARTs, such as a serial port, which may be used incombination with one or more multiplexors (MUXs). The multiplexor mayswitch the communication channel such that communications from the hostprocessor 130 are directed toward the appropriate BEP 140. For example,in some embodiments, as shown in FIG. 1, a single UART may be connectedto a MUX, such that the host processor 130 may communicate with all theBEPs 140 through a single connection. After a non-periodic command isperformed by the host processor 130, the non-periodic command may thenbe deactivated (i.e., set to inactive).

FIG. 2 is a block diagram of a command list 120 used by some embodimentsof the process management system 100. As shown, the command list 120 mayinclude both periodic 210 and non-periodic 220 commands, which may beinterspersed. In some embodiments, the command list may include some orall commands describing communications between the host processor 130and the BEPs 140. The host processor 130 may address each command in thecommand list 120, in a round robin fashion, and perform the commandscurrently active.

As depicted in FIG. 2, at a given time, some commands in the commandlist 120 may be active, while others may be inactive. In general,periodic commands 210 may be active in the command list 120 by default,and may remain active at all times. Thus, the host processor 130 mayexecute those periodic commands 210 at every pass through the commandlist 120, thus performing such periodic commands 210 periodically, asdesired. In contrast, non-periodic commands 220 may be inactive bydefault. The mode of a non-periodic command 220 in the command list 120may be set to active when execution of that command is requested, suchas by the external code 150.

Various mechanisms made be used for changing a command's mode in thecommand list 120, specifically, for activating (i.e., setting to active)or deactivating (i.e., setting to inactive) a command. For example, andnot by way of limitation, the firmware 105 itself may change a command'smode, such as by performing a “Turn On Voltage Level” command when thefirmware 105 detects that a BEP 140 has booted and is in standby. Foranother example, the external code 150 may modify the mode of a command,such as by performing a “Turn On Voltage Level,” or similar, command.

In some instances, it may be the case that a command should be givenhigher priority over one or more other commands in the command list 120.To account for this, the command list 120 may include multiple instancesof higher priority commands. By placing a particular command in thecommand list 120 multiple times, that command may, in the average case,be reached sooner by the host processor 130 than if the command appearedin the command list 120 only a single time. To activate such a highpriority command, the process management system 100 may set to activemultiple instances of the command in the command list 120. Thus, it maybe the case that a first command given higher priority than a secondcommand may appear a greater number of times in the command list 120than the second command. Alternatively, such first command may have moreactive instances than the second command at a time when the firstcommand is given higher priority.

In conventional systems, non-periodic commands are generally givenhigher priority than periodic commands, since they are issuedspecifically at times when they are needed. To account for thisincreased priority, in some embodiments of the present processmanagement system 100, some or all non-periodic commands 220 may beduplicated, such that two or more of each such non-periodic commandappear in the command list 120. In contrast, some embodiments mayinclude each periodic command 210 only a single time in the command list120. In this way, non-periodic commands 220 may be given higher prioritythan periodic commands 210.

It may be the case that, during runtime of the firmware 105 embodyingaspects of the process management system 100, a user or componentdesires to provide a command to the host processor 130 that is notincluded in the command list 120. To handle such a situation, thecommand list 120 may include one or more wildcard commands. Eachwildcard command may have a fixed place in the command list 120, as isthe case for other commands. A wildcard command may be associated withone or more variables configured to represent a command entered by auser or otherwise received from the external code 150. When such acommand is received, the process management system 100 may associate thereceived command with a wildcard command in the command list 120. Thereceived command may thus be executed when the host processor 130reaches that wildcard command in the command list 120. In this manner,the host processor 130 need not be limited to only the specific commandsincluded in the command list 120 during compile time.

FIG. 3 is a block diagram of a method 300 for managing processes in anFRU 110, according to some embodiments of this disclosure. As shown, atblock 310, a command list 120 may be generated as part of firmware 105,for maintaining commands receivable by an FRU 110. At block 320, thecommand list 120 may be populated with periodic commands 210 for the FRU110. At block 330, the command list 120 may be populated withnon-periodic commands 220, which may be interspersed with the periodiccommands 210. At block 340, one or more of the commands may beduplicated in the command list 120 to grant those commands higherpriority. At block 350, a first subset of the commands in the commandlist 120 may be set to active by default, while a second subset may beset to inactive by default. At block 360, the firmware 105, along withits command list 120, may be compiled and installed on the FRU 110. Atblock 370, a host processor 130 of the FRU 110 may cycle through thecommand list 120, executing only those commands set to active. Theactivities of block 370 may be performed repeatedly while the firmwareis executing. Meanwhile, at block 380, the modes of one or more commandsin the command list 120 may occasionally change from active to inactive,or from inactive to active. The host processor 130 may continue toexecute the active commands at block 370.

FIG. 4 illustrates a block diagram of a computer system 400 for use inimplementing a process management system or method according to someembodiments. The process management systems and methods described hereinmay be implemented in hardware, software (e.g., firmware), or acombination thereof. In an exemplary embodiment, the methods describedmay be implemented, at least in part, in hardware and may be part of themicroprocessor of a special or general-purpose computer system 400, suchas a personal computer, workstation, minicomputer, or mainframecomputer. For instance, in some embodiments, a field-replaceable unit100 configured to use the process management system 110 may be installedor installable in a computer system 400 such as that shown in FIG. 4.Further, the field-replaceable unit itself may include some aspects ofthe depicted computer system 400.

In an exemplary embodiment, as shown in FIG. 4, the computer system 400includes a processor 405, memory 410 coupled to a memory controller 415,and one or more input devices 445 and/or output devices 440, such asperipherals, that are communicatively coupled via a local I/O controller435. These devices 440 and 445 may include, for example, a printer, ascanner, a microphone, and the like. A conventional keyboard 450 andmouse 455 may be coupled to the I/O controller 435. The I/O controller435 may be, for example, one or more buses or other wired or wirelessconnections, as are known in the art. The I/O controller 435 may haveadditional elements, which are omitted for simplicity, such ascontrollers, buffers (caches), drivers, repeaters, and receivers, toenable communications.

The I/O devices 440, 445 may further include devices that communicateboth inputs and outputs, for instance disk and tape storage, a networkinterface card (NIC) or modulator/demodulator (for accessing otherfiles, devices, systems, or a network), a radio frequency (RF) or othertransceiver, a telephonic interface, a bridge, a router, and the like.

The processor 405 is a hardware device for executing hardwareinstructions or software, particularly those stored in memory 410. Theprocessor 405 may be any custom made or commercially availableprocessor, a central processing unit (CPU), an auxiliary processor amongseveral processors associated with the computer system 400, asemiconductor based microprocessor (in the form of a microchip or chipset), a macroprocessor, or other device for executing instructions. Theprocessor 405 includes a cache 470, which may include, but is notlimited to, an instruction cache to speed up executable instructionfetch, a data cache to speed up data fetch and store, and a translationlookaside buffer (TLB) used to speed up virtual-to-physical addresstranslation for both executable instructions and data. The cache 470 maybe organized as a hierarchy of more cache levels (L1, L2, etc.).

The memory 410 may include any one or combinations of volatile memoryelements (e.g., random access memory, RAM, such as DRAM, SRAM, SDRAM,etc.) and nonvolatile memory elements (e.g., ROM, erasable programmableread only memory (EPROM), electronically erasable programmable read onlymemory (EEPROM), programmable read only memory (PROM), tape, compactdisc read only memory (CD-ROM), disk, diskette, cartridge, cassette orthe like, etc.). Moreover, the memory 410 may incorporate electronic,magnetic, optical, or other types of storage media. Note that the memory410 may have a distributed architecture, where various components aresituated remote from one another but may be accessed by the processor405.

The instructions in memory 410 may include one or more separateprograms, each of which comprises an ordered listing of executableinstructions for implementing logical functions. In the example of FIG.4, the instructions in the memory 410 include a suitable operatingsystem (OS) 411. The operating system 411 essentially may control theexecution of other computer programs and provides scheduling,input-output control, file and data management, memory management, andcommunication control and related services.

Additional data, including, for example, instructions for the processor405 or other retrievable information, may be stored in storage 420,which may be a storage device such as a hard disk drive or solid statedrive. The stored instructions in memory 410 or in storage 420 mayinclude those enabling the processor to execute one or more aspects ofthe process management systems and methods of this disclosure.

The computer system 400 may further include a display controller 425coupled to a display 430. In an exemplary embodiment, the computersystem 400 may further include a network interface 460 for coupling to anetwork 465. The network 465 may be an IP-based network forcommunication between the computer system 400 and any external server,client and the like via a broadband connection. The network 465transmits and receives data between the computer system 400 and externalsystems. In an exemplary embodiment, the network 465 may be a managed IPnetwork administered by a service provider. The network 465 may beimplemented in a wireless fashion, e.g., using wireless protocols andtechnologies, such as WiFi, WiMax, etc. The network 465 may also be apacket-switched network such as a local area network, wide area network,metropolitan area network, the Internet, or other similar type ofnetwork environment. The network 465 may be a fixed wireless network, awireless local area network (LAN), a wireless wide area network (WAN) apersonal area network (PAN), a virtual private network (VPN), intranetor other suitable network system and may include equipment for receivingand transmitting signals.

Process management systems and methods according to this disclosure maybe embodied, in whole or in part, in computer program products or incomputer systems 400, such as that illustrated in FIG. 4.

Technical effects and benefits of a process management system 100according to this disclosure include the avoidance of some issues inconventional process management systems for FRUs 110. More specifically,for example, an embodiment of the present process management system 100may avoid starving out periodic or low-priority commands by maintainingonly a single command list 120. In some embodiments, because the hostprocessor 130 may cycle through the entire list, even relatively lowpriority commands are addressed by the host processor 130 without beingstarved out.

As compared to conventional FRU process management systems, embodimentsof the present process management system 100 may have the followingfurther benefits: fully asynchronous, interrupt-driven communicationthat allows the firmware 105 to run freely while communication is takingplace; ability to manage a set of commands sent on a predetermined,periodic schedule in the form of routine cyclic communication; abilityto manage a set of commands sent on an unpredictable schedule, such asin response to changing events or in response to external sources, wherethose commands are given the same priority as the routine cycliccommands; ability to manage a set of commands sent on an unpredictableschedule, in response to changing events or in response to externalsources, where those commands are given higher priority than the routinecyclic commands; ability to support communication between a hostprocessor 130 and one or more BEPs 140, including multiple types of BEPs140; and ability to handle severe communication bottlenecks duringperiods of high communication loads, without error; implementation ofthese functions as a common code library, allowing the use of thefunctions by any developer in a team environment.

In one embodiment, a system includes firmware of a field-replaceableunit, a host processor of a field-replaceable unit, and one or moreback-end processors of a field-replaceable unit. The firmware includes acommand list configured to maintain commands. The host processor isconfigured to execute one or more of the commands in the command list.The one or more back-end processors are in communication with the hostprocessor. One or more of the commands in the command list definecommunications between the host processor and the one or more back-endprocessors. The command list includes both periodic commandsrepresenting periodic processes and non-periodic commands representingnon-periodic processes. Each command in the command list is set to oneof active mode and inactive mode. The host processor is furtherconfigured to cycle through the command list, and execute only thecommands in the command list that are set to active mode while cyclingthrough the command list.

In addition to one or more of the features described above, or as analternative, the firmware includes no more than a single command listconfigured to maintain commands for communicating with the back-endprocessors.

In addition to one or more of the features described above, or as analternative, the command list is a fixed list for which space isallocated at compile time of the firmware.

In addition to one or more of the features described above, or as analternative, the periodic commands in the command list remain in activemode, and each non-periodic command in the command list switches toactive mode upon receipt, by the firmware, of an instruction to executethe non-periodic command.

In addition to one or more of the features described above, or as analternative, the command list includes a greater number of instances ofa first command than the number of instances of a second command, andthe first command is given higher priority than the second command. Thehost processor is further configured to receive a non-periodic commandfrom outside the field-replaceable unit, where the non-periodic commandcorresponds to the first command. The firmware is configured to set twoor more instances of the first command of the command list to activemode, in response to receiving the non-periodic command, where settingthe two or more instances of the first command of the command list toactive mode grants the higher priority to the first command.

In addition to one or more of the features described above, or as analternative, the host processor is further configured to receive anon-periodic command from outside the field-replaceable unit, and thefirmware is further configured to set a first command of the commandlist to active mode, where the first command corresponds to the receivednon-periodic command, in response to receiving the non-periodic command.

In addition to one or more of the features described above, or as analternative, the command list includes a wildcard command. The firmwareis further configured to receive a command from outside thefield-replaceable unit, and determine that the received commandcorresponds to no command in the command list. The firmware is furtherconfigured to associate the received command with a wildcard command inthe command list, and activate the wildcard command, in response toreceiving the command.

In another embodiment, a computer-implemented method includes executingfirmware including a command list configured to maintain commandsexecutable by a host processor of a field-programmable unit. One or moreof the commands define communications between the host processor and oneor more back-end processors of the field-replaceable unit. The commandlist includes both periodic commands representing periodic processes andnon-periodic commands representing non-periodic processes. Each commandin the command list is set to one of active mode and inactive mode.Executing the firmware includes cycling through the command list, andexecuting, by the host processor, only the commands in the command listthat are set to active mode while cycling through the command list.

In addition to one or more of the features described above, or as analternative, the firmware includes no more than a single command listconfigured to maintain commands for communicating with the back-endprocessors.

In addition to one or more of the features described above, or as analternative, the command list is a fixed list for which space isallocated at compile time of the firmware.

In addition to one or more of the features described above, or as analternative, the command list includes a greater number of instances ofa first command than the number of instances of a second command, andthe first command is given higher priority than the second command.Executing the firmware further includes receiving a non-periodic commandfrom outside the field-replaceable unit, where the non-periodic commandcorresponds to the first command. Executing the firmware furtherincludes setting two or more instances of the first command of thecommand list to active mode, in response to receiving the non-periodiccommand, where setting the two or more instances of the first command ofthe command list to active mode grants the higher priority to the firstcommand.

In addition to one or more of the features described above, or as analternative, executing the firmware further includes receiving anon-periodic command from outside the field-replaceable unit, andsetting a first command of the command list to active mode, where thefirst command corresponds to the received non-periodic command, inresponse to receiving the non-periodic command.

In addition to one or more of the features described above, or as analternative, the command list includes a wildcard command. Executing thefirmware further includes receiving a command from outside thefield-replaceable unit, and determining that the received commandcorresponds to no command in the command list. Executing the firmwarefurther includes associating e the received command with a wildcardcommand in the command list, and activating the wildcard command, inresponse to receiving the command.

In yet another embodiment, a computer program product for managingprocesses of a field-replaceable unit includes a computer readablestorage medium having program instructions embodied therewith. Theprogram instructions are executable by a processor to cause theprocessor to perform a method. The method includes executing firmwareincluding a command list configured to maintain commands executable by ahost processor of a field-programmable unit. One or more of the commandsdefine communications between the host processor and one or moreback-end processors of the field-replaceable unit. The command listincludes both periodic commands representing periodic processes andnon-periodic commands representing non-periodic processes. Each commandin the command list is set to one of active mode and inactive mode.Executing the firmware includes cycling through the command list, andexecuting, by the host processor, only the commands in the command listthat are set to active mode while cycling through the command list.

In addition to one or more of the features described above, or as analternative, the firmware includes no more than a single command listconfigured to maintain commands for communicating with the back-endprocessors.

In addition to one or more of the features described above, or as analternative, the command list is a fixed list for which space isallocated at compile time of the firmware.

In addition to one or more of the features described above, or as analternative, the periodic commands in the command list remain in activemode, and each non-periodic command in the command list switches toactive mode upon receipt, by the firmware, of an instruction to executethe non-periodic command.

In addition to one or more of the features described above, or as analternative, the command list includes a greater number of instances ofa first command than the number of instances of a second command, andthe first command is given higher priority than the second command.Executing the firmware further includes receiving a non-periodic commandfrom outside the field-replaceable unit, where the non-periodic commandcorresponds to the first command. Executing the firmware furtherincludes setting two or more instances of the first command of thecommand list to active mode, in response to receiving the non-periodiccommand, where setting the two or more instances of the first command ofthe command list to active mode grants the higher priority to the firstcommand.

In addition to one or more of the features described above, or as analternative, executing the firmware further includes receiving anon-periodic command from outside the field-replaceable unit, andsetting a first command of the command list to active mode, where thefirst command corresponds to the received non-periodic command, inresponse to receiving the non-periodic command.

In addition to one or more of the features described above, or as analternative, the command list includes a wildcard command. Executing thefirmware further includes receiving a command from outside thefield-replaceable unit, and determining that the received commandcorresponds to no command in the command list. Executing the firmwarefurther includes associating e the received command with a wildcardcommand in the command list, and activating the wildcard command, inresponse to receiving the command.

The terminology used herein is for the purpose of describing particularembodiments only and is not intended to be limiting of the invention. Asused herein, the singular forms “a”, “an” and “the” are intended toinclude the plural forms as well, unless the context clearly indicatesotherwise. It will be further understood that the terms “comprises”and/or “comprising,” when used in this specification, specify thepresence of stated features, integers, steps, operations, elements,and/or components, but do not preclude the presence or addition of oneor more other features, integers, steps, operations, elements,components, and/or groups thereof.

The corresponding structures, materials, acts, and equivalents of allmeans or step plus function elements in the claims below are intended toinclude any structure, material, or act for performing the function incombination with other claimed elements as specifically claimed. Thedescription of the present invention has been presented for purposes ofillustration and description, but is not intended to be exhaustive orlimited to the invention in the form disclosed. Many modifications andvariations will be apparent to those of ordinary skill in the artwithout departing from the scope and spirit of the invention. Theembodiments were chosen and described in order to best explain theprinciples of the invention and the practical application, and to enableothers of ordinary skill in the art to understand the invention forvarious embodiments with various modifications as are suited to theparticular use contemplated.

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Java, Smalltalk, C++ or the like,and conventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).In some embodiments, electronic circuitry including, for example,programmable logic circuitry, field-programmable gate arrays (FPGA), orprogrammable logic arrays (PLA) may execute the computer readableprogram instructions by utilizing state information of the computerreadable program instructions to personalize the electronic circuitry,in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the block may occur out of theorder noted in the figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

The descriptions of the various embodiments of the present inventionhave been presented for purposes of illustration, but are not intendedto be exhaustive or limited to the embodiments disclosed. Manymodifications and variations will be apparent to those of ordinary skillin the art without departing from the scope and spirit of the describedembodiments. The terminology used herein was chosen to best explain theprinciples of the embodiments, the practical application or technicalimprovement over technologies found in the marketplace, or to enableothers of ordinary skill in the art to understand the embodimentsdisclosed herein.

What is claimed is:
 1. A system comprising: firmware of afield-replaceable unit, the firmware comprising a command listconfigured to maintain commands; a host processor of thefield-replaceable unit configured to execute one or more of the commandsin the command list; and one or more back-end processors of thefield-replaceable unit, the one or more back-end processors being incommunication with the host processor; wherein one or more of thecommands in the command list define communications between the hostprocessor and the one or more back-end processors of thefield-replaceable unit; wherein the command list comprises both periodiccommands representing periodic processes and non-periodic commandsrepresenting non-periodic processes; wherein each command in the commandlist is set to one of active mode and inactive mode; and wherein thehost processor is further configured to: cycle through the command list;and execute only the commands in the command list that are set to activemode, while cycling through the command list.
 2. The system of claim 1,wherein the firmware comprises no more than a single command listconfigured to maintain commands for communicating with the back-endprocessors.
 3. The system of claim 1, wherein the command list is afixed list for which space is allocated at compile time of the firmware.4. The system of claim 1, wherein the periodic commands in the commandlist remain in active mode, and wherein each non-periodic command in thecommand list switches to active mode upon receipt, by the firmware, ofan instruction to execute the non-periodic command.
 5. The system ofclaim 1, wherein: the command list comprises a greater number ofinstances of a first command than the number of instances of a secondcommand; the first command is given higher priority than the secondcommand; the host processor is further configured to receive anon-periodic command from outside the field-replaceable unit, whereinthe non-periodic command corresponds to the first command; and thefirmware is configured to set two or more instances of the first commandof the command list to active mode, in response to receiving thenon-periodic command, wherein setting the two or more instances of thefirst command of the command list to active mode grants the higherpriority to the first command.
 6. The system of claim 1, wherein: thehost processor is further configured to receive a non-periodic commandfrom outside the field-replaceable unit; and the firmware is furtherconfigured to set a first command of the command list to active mode,wherein the first command corresponds to the received non-periodiccommand, in response to receiving the non-periodic command.
 7. Thesystem of claim 1, wherein the command list comprises a wildcardcommand, and wherein the firmware is further configured to: receive acommand from outside the field-replaceable unit; determine that thereceived command corresponds to no command in the command list;associate the received command with a wildcard command in the commandlist; and activate the wildcard command, in response to receiving thecommand.
 8. A computer program product for managing processes in afield-replaceable unit, the computer program product comprising anon-transitory computer readable storage medium having programinstructions embodied therewith, the program instructions executable bya processor to cause the processor to perform a method comprising:executing firmware comprising a command list configured to maintaincommands executable by a host processor of the field-replaceable unit;wherein one or more of the commands define communications between thehost processor and one or more back-end processors of thefield-replaceable unit; wherein the command list comprises both periodiccommands representing periodic processes and non-periodic commandsrepresenting non-periodic processes; wherein each command in the commandlist is set to one of active mode and inactive mode; and whereinexecuting the firmware comprises: cycling through the command list; andexecuting, by the host processor, only the commands in the command listthat are set to active mode, while cycling through the command list. 9.The computer program product of claim 8, wherein the firmware comprisesno more than a single command list configured to maintain commands forcommunicating with the back-end processors.
 10. The computer programproduct of claim 8, wherein the command list is a fixed list for whichspace is allocated at compile time of the firmware.
 11. The computerprogram product of claim 8, wherein the periodic commands in the commandlist remain in active mode, and wherein each non-periodic command in thecommand list switches to active mode upon receipt, by the firmware, ofan instruction to execute the non-periodic command.
 12. The computerprogram product of claim 8, wherein the command list comprises a greaternumber of instances of a first command than the number of instances of asecond command, and wherein the first command is given higher prioritythan the second command, wherein executing the firmware furthercomprises: receiving a non-periodic command from outside thefield-replaceable unit, wherein the non-periodic command corresponds tothe first command; and setting two or more instances of the firstcommand of the command list to active mode, in response to receiving thenon-periodic command, wherein setting the two or more instances of thefirst command of the command list to active mode grants the higherpriority to the first command.
 13. The computer program product of claim8, wherein executing the firmware further comprises: receiving anon-periodic command from outside the field-replaceable unit; andsetting a first command of the command list to active mode, wherein thefirst command corresponds to the received non-periodic command, inresponse to receiving the non-periodic command.
 14. The computer programproduct of claim 8, wherein the command list comprises a wildcardcommand, wherein executing the firmware further comprises: receiving acommand from outside the field-replaceable unit; determining that thereceived command corresponds to no command in the command list;associating the received command with a wildcard command in the commandlist; and activating the wildcard command, in response to receiving thecommand.